<?php 
$this->lang->load('admin_ad', $this->session->admin_language);
$this->load->view('admin/layout/head', array('title'=> '系统设置'), FALSE);
?>

<div id="container">
<ul class="nav nav-tabs" id="subject-tab">
	<li class="active"><a href="javascript:;">编辑设置<?= $config['name'] ?></a></li>
</ul>
<form method="post" class="form-inline deal-from container-fluid no-padding" id="ad-form">
	<div class="mt-20">
		<label for="">标签</label>
		<div class="form-group">
			<select name="label" id="">
				<?php foreach (config('basic.config_label') as $key => $value): ?>
					<option value="<?= $value ?>"><?= $value ?></option>
				<?php endforeach ?>
			</select>
		</div>
	</div>
	<div class="mt-20">
		<label for="">名称</label>
		<div class="form-group">
			<input type="text" name="name" class="form-control" value="<?= $config['name'] ?>" style="width: 600px">
		</div>
	</div>
	<div class="mt-20">
		<label for="">充值金额</label>
		<div class="form-group">
			<input type="text" name="value" class="form-control" value="<?= $config['value'] ?>" style="width: 600px">
		</div>
	</div>
	<div class="mt-20">
		<label for="">优惠金额</label>
		<div class="form-group">
			<input type="text" name="value1" class="form-control" value="<?= $config['value1'] ?>" style="width: 600px">
		</div>
	</div>

	<div style="padding-left:110px" class="mt-20">
		<button class="btn btn-primary">保存</button>
      	<a href="/admin/sys" class="btn btn-default cancel"><?php echo $this->lang->line('cancel') ?></a>
    </div>

	
</form>
</div>


<?php 
$this->load->view('admin/layout/footer');
?>